package com.intelligent.health.member.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.intelligent.health.member.dto.UserDto;
import com.intelligent.health.member.pojo.User;
import com.intelligent.health.member.vo.UserVo;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: torlesse-liang
 * @Date: 2022/03/17/22:59
 * @Description: MemberService
 */
public interface MemberService {

    void addMember(User user);

    IPage<UserVo> queryMembersByPage(UserDto userDto, Integer pageNum, Integer pageSize);

    UserVo queryMemberById(Long userId);

    void editMemberInfo(UserDto userDto);

    void delMember(Long userId);

    HashMap<String, Object> getUserAuthInfo(String username);

    void delBatchMember(ArrayList<Long> userIds);
}
